package com.wx_shop.api.vo;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wx_shop.api.domain.ProCategory;

@JsonInclude(JsonInclude.Include.NON_NULL)
public class CategoryVo extends ProCategory {

	private List<CategoryVo> chirlds;

	private static final long serialVersionUID = 1L;

	public List<CategoryVo> getChirlds() {
		return chirlds;
	}

	public void setChirlds(List<CategoryVo> chirlds) {
		this.chirlds = chirlds;
	}

	/**
	 * ignore return property of list
	 * @return
	 */
	@JsonIgnore
	public static String[] ignoreList() {
		return new String[]{"status", "createTime", "updateTime"};
	}
	
}
